home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 15d.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-27  |  1.6 KB  |  62 lines

  1. on startMovie
  2.   global qtChan, gKnobSprite
  3.   sprite(9).visible = 0
  4.   puppetSprite(46, 1)
  5.   qtChan = 11
  6.   sprite(qtChan).volume = 256
  7.   preLoad(qtChan - 1)
  8.   set the mouseDownScript to EMPTY
  9.   set the mouseUpScript to EMPTY
  10.   gKnobSprite = 25
  11.   setUpKnob()
  12. end
  13.  
  14. on idle
  15.   global gCursorReady
  16.   if gCursorReady = 1 then
  17.     cursor(200)
  18.     checkCursors()
  19.     set the locH of sprite 46 to the mouseH
  20.     set the locV of sprite 46 to the mouseV
  21.     updateStage()
  22.   end if
  23. end
  24.  
  25. on checkCursors
  26.   global gMagCursor
  27.   set the castNum of sprite 46 to the number of member "curs1"
  28.   if rollOver(5) then
  29.     set the castNum of sprite 46 to the number of member "hotCursor"
  30.   end if
  31.   if rollOver(6) then
  32.     set the castNum of sprite 46 to the number of member "curs1"
  33.   end if
  34.   repeat with i = 11 to 13
  35.     if rollOver(i) then
  36.       set the castNum of sprite 46 to the number of member "hotCursor"
  37.     end if
  38.   end repeat
  39.   repeat with i = 33 to 35
  40.     if rollOver(i) then
  41.       set the castNum of sprite 46 to the number of member "hotCursor"
  42.     end if
  43.   end repeat
  44.   if rollOver(17) then
  45.     set the castNum of sprite 46 to the number of member gMagCursor
  46.   end if
  47.   if the castNum of sprite 18 and rollOver(18) then
  48.     set the castNum of sprite 46 to the number of member "deMagCursor"
  49.   end if
  50.   if rollOver(34) then
  51.     set the castNum of sprite 46 to the number of member "hotCursor"
  52.   end if
  53.   if rollOver(36) then
  54.     set the castNum of sprite 46 to the number of member "hotCursor"
  55.   end if
  56.   repeat with i = 40 to 42
  57.     if rollOver(i) then
  58.       set the castNum of sprite 46 to the number of member "hotCursor"
  59.     end if
  60.   end repeat
  61. end
  62.